package com.yanqu.road.server.timer.zhaoshang;

import com.yanqu.road.server.manger.monopolymarket.MonopolyMarketMgr;
import com.yanqu.road.server.manger.zhaoshang.ZsMgr;
import com.yanqu.road.utils.executor.GeneralTask;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class ZhaoShangSyncTask extends GeneralTask {

    protected Logger logger = LogManager.getLogger(ZhaoShangSyncTask.class.getName());

    @Override
    public void doRun() {
        try {
        //5秒执行一次上传
        ZsMgr.uploadUserInfo();
        }catch (Exception e) {
            logger.error(e.getMessage(), e);
        }
    }
}
